<div class="BrandListWrap">
	<table width="100%" cellpadding="0" cellspacing="0">
    	<{foreach from=$data item=data key=key name=brandlist}>
        <{if $smarty.foreach.brandlist.iteration <= $setting.num}>
            <{if $key%$setting.col==0}><tr><{/if}>
                <td>
                <{if $setting.brandSet=='all' || $setting.brandSet=='logo'}>
				<{if $data.brand_logo}>
                <a href="<{link app=b2c ctl=site_brand act=index arg=$data.brand_id}>" title="<{$data.brand_name}>">
                <img width="<{$setting.LogoWidth}>" height="<{$setting.LogoHeight}>" src="<{$data.brand_logo|storager}>" alt='<{$data.brand_name}>' title='<{$data.brand_name}>'>
                </a>
				<{/if}>
                <{/if}>
                <{if $setting.brandSet=='all' || $setting.brandSet=='write'}>
                <a href="<{link app=b2c ctl=site_brand act=index arg=$data.brand_id}>" title="<{$data.brand_name}>"><{$data.brand_name}></a>
                <{/if}>
                </td>
            <{if $key%$setting.col==($setting.col-1)}></tr><{/if}>
        <{/if}>
        <{/foreach}>
    </table>
	<{if $setting.showMore == 'on'}><div class="more clearfix"><a href="<{link app=b2c ctl=site_brand act=showlist}>"><{t app='b2c'}>更多品牌<{/t}></a></div><{/if}>
</div>

